package com.sxt.sys.SYSConstast;

public interface SYSConstast {
	//用户类型
	Integer USER_TYPE_NORMAL=1;
	Integer USER_TYPE_SUPER=0;
	
	
	//菜单类型
	String MENU_TYPE_MENU = "menu";
	String MENU_TYPE_PERMISSION = "permission";
	
	//菜单是否可用
	Integer MENU_AVAILABLE_TRUE = 1;
	Integer MENU_AVAILABLE_FALSE =0;
	
	
	
		//菜单展开状态
	Integer MENU_OPEN_TRUE = 1;
	Integer MENU_OPEN_FALSE = 0;
		
		
		//删除
	String DELETE_LOGININFOR_TRUE = "删除成功";
	String DELETE_LOGININFOR_FALSE = "删除失败";
		
		
		//添加
	String ADD_LOGININFOR_TRUE = "添加成功";
	String ADD_LOGININFOR_FALSE = "添加失败";
	
	//修改
		String UPDATE_LOGININFOR_TRUE = "修改成功";
		String UPDATE_LOGININFOR_FALSE = "修改失败";
		//是否父节点
		Integer DEPT_ISPARENT_TRUE = 1;
		Integer DEPT_ISPARENT_FALSE = 0;
		//是否展开
		Integer DEPT_OPEN_TRUE = 1;
		Integer DEPT_OPEN_FALSE = 0;
		
		
		// 菜单或权限展开状态
		Integer PERMISSION_OPEN_TRUE = 1;
		Integer PERMISSION_OPEN_FALSE = 0;
		// 菜单或权限是否父节点状态
		Integer PERMISSION_ISPARENT_TRUE = 1;
		Integer PERMISSION_ISPARENT_FALSE = 0;
		
		
		//分配权限然后保存
		String OPERATE_DISPATCHE_SUCCESS = "分配成功";
		String OPERATE_DISPATCHE_FALSE = "分配失败";
		
		
		//添加用户是设置type=1
		Integer PERMISSION_TYPR_TURE = 1;
		Integer PERMISSION_TYPR_FALSE = 0;
		
		
		//设置添加用户时的默认密码
		String ADD_USER_PASSWORD = "123456";
		
		
		//设置添加用户时默认头像
		String ADD_USER_IMAG = "../resources/images/defaultusertitle.jpg";
		
		//重置用户密码
		String UPDATE_USERPWD_TRUE = "重置成功";
		String UPDATE_USERPWD_FALSE = "重置失败";
		
		
		String OPERATE_DELETE_SUCCESS = "删除成功";
		String OPERATE_DELETE_ERROR = "删除失败";
}
